/**
 * @author Daniel Ross
 */
dojo.provide("SheetElements.Skill");

dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("dojo.i18n")
dojo.requireLocalization("SheetElements", "Skills");

dojo.declare("SheetElements.Skill", [dijit._Widget, dijit._Templated], {
    templatePath: dojo.moduleUrl("SheetElements", "Skill.htm"),
    
    iconSrc: "",
	_text: "",
    skillID: "",
    
    postMixInProperties: function(){
		bundle = dojo.i18n.getLocalization("SheetElements", "Skills");
    	this._text = bundle[this.skillID];
		this.title = bundle[this.skillID + "Title"];
		
    }
    
});
